package com.ecut.property_project.mapper.project;

import com.ecut.property_project.model.project.ProjectDept;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ProjectDeptMapper {
    int deleteByPrimaryKey(Integer deptId);

    int insert(ProjectDept record);

    int insertSelective(ProjectDept record);

    List<ProjectDept> selectAll();

    List<ProjectDept> selectByPage(Integer page, Integer pageSize);

    ProjectDept selectByPrimaryKey(Integer deptId);

    List<ProjectDept> selectByHeadId(String headId);

    int updateByPrimaryKeySelective(ProjectDept record);

    int updateByPrimaryKey(ProjectDept record);
}